<template>
  <div class="box">
    <h1>props:我是父组件曹操</h1>
    <hr>
    <child info="我是曹操" :money="money"></child>
  </div>
</template>
 
<script setup lang="ts">
import { ref } from 'vue'
import child from './child.vue'
let money = ref(10000)
</script>
<style scoped lang="less">
.box {
  width: 100vw;
  height: 400px;
  background: yellowgreen;
}
</style>